/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tamnhat.entity;

import java.io.Serializable;
import java.util.ArrayList;

/**
 *
 * @author Administrator
 */
public class Error implements Serializable{
    private int row;
    private ArrayList<String> listColName;

    public Error() {
        listColName = new ArrayList<String>();
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public ArrayList<String> getColName() {
        return listColName;
    }

    public void setColName(ArrayList<String> listColName) {
        this.listColName = listColName;
    }
    
    public void addColName(String colName){
        if(listColName.size() == 0){
            listColName.add(colName);
        }
        else listColName.add(", "+colName);
    }
}
